ADP\BaseVersion\Includes\StatsCollector\WcCartStatsCollector A

Total Complexity 55
Dependencies 12
Dependents 3
Total lines 377
Lines of code 256
Logical lines of code 124
Comment lines 45
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
injectWcCartCouponStats()
A
48 11 33
injectWcCartShippingStats()
A
49 11 30
collectWcCartStats()
A
43 8 49
afterOrderCalculateTotalsDuringRestApi()
S
47 5 39
checkoutOrderProcessed()
S
47 5 38
injectWcCartFeeStats()
S
57 5 17
saveInitialPriceToOrderItem()
S
70 2 6
__construct()
S
73 1 5
withContext()
S
81 1 3
withOrderRepository()
S
81 1 3
withOrderItemRepository()
S
81 1 3
setActionCheckoutOrderProcessed()
S
66 1 9
setActionCheckoutOrderProcessedDuringRestApi()
S
71 1 6
unsetActionCheckoutOrderProcessed()
S
68 1 8
unsetActionCheckoutOrderProcessedDuringRestApi()
S
70 1 7